package water;

public class WaterDispenser {
    private String brand;
    private String color;
    private Integer capacity;
    private String model;

    public WaterDispenser() {
    }

    public WaterDispenser(String brand, String color, Integer capacity, String model) {
        this.brand = brand;
        this.color = color;
        this.capacity = capacity;
        this.model = model;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public void show() {
        System.out.println("品牌为:" + this.brand);
        System.out.println("颜色为:" + this.color);
        System.out.println("容量为:" + this.capacity);
        System.out.println("模式为:" + this.model);
    }
}
